package GUI;

import java.awt.*;

import javax.swing.*;
/**
 * This class creates instance of FrozenReqManagGui	
 * to display when needed
 * @author Natali
 *
 */
public class FrozenReqManagGui extends JPanel {
	
	private static final long serialVersionUID = 1L;
	private JComboBox reqNum;
	private JButton canButton;
	private JButton SubButton;

	
	/**
	 * the constructor
	 */
	public FrozenReqManagGui(){
		super();
		reqNum = new JComboBox();
		SubButton = new JButton("submit");
		canButton = new JButton("cancel");
		initialize();
	}
		
	/**
	 * This method initializes FrozenReqManagGui	
	 */
	public void initialize(){	
		JLabel lblUserName = new JLabel("Choose request number:");
		lblUserName.setFont(new Font("Arial", Font.BOLD, 13));
		lblUserName.setBounds(21, 120, 171, 50);
		add(lblUserName);
		
		JLabel lblLogInWindow = new JLabel("Frozen Request Managment");
		lblLogInWindow.setForeground(Color.BLUE);
		lblLogInWindow.setFont(new Font("Arial Black", Font.BOLD, 17));
		lblLogInWindow.setBounds(96, 30, 308, 50);
		add(lblLogInWindow);
		
		reqNum.setBounds(187, 129, 142, 27);
		add(reqNum);
		
		SubButton.setFont(new Font("Arial", Font.PLAIN, 12));
		SubButton.setBounds(284, 218, 122, 40);
		add(SubButton);
		
		
		canButton.setFont(new Font("Arial", Font.PLAIN, 12));
		canButton.setBounds(33, 218, 122, 40);
		add(canButton);
		
		setLayout(null);
		setSize(new Dimension(500, 300));		
	}
	/**
	 * 
	 * @return the submit button
	 */
	public JButton getSubButton(){
		return SubButton;
	}
	/**
	 * 
	 * @return the cancel button
	 */
	public JButton getcanButton(){
		return canButton;
	}
	/**
	 * 
	 * @return the comboBox with the request number
	 */
	public JComboBox getReqNum(){
		return reqNum;
	}
	
}
